package com.ca.project.Server.Modules.SuperUser.PO;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import java.io.Serializable;

/**
 * 管理员注册参数实体对象
 *
 * @PACKAGE_NAME: com.ca.project.Server.Modules.SuperUser.PO
 * @NAME: SuperUserRegisterPO
 * @USER: ASUS
 * @DATE: 6/10/2023
 * @TIME: 上午11:08
 **/
@ApiModel(value = "管理员注册参数")
@Data
public class SuperUserRegisterPO implements Serializable {
    private static final long serialVersionUID = 6145151735661162089L;

    @ApiModelProperty(value = "用户名", required = true)
    @NotBlank(message = "用户名不能为空")
    private String username;

    @ApiModelProperty(value = "密码", required = true)
    @NotBlank(message = "密码不能为空")
    private String password;
}
